<template>
    <span class="tag vux-1px">
        <slot></slot>
    </span>
</template>

<script>
    export default {
        name: 'Tag'
    };
</script>

<style lang="less" scoped>
    .tag {
        margin-right: .5rem;
        padding: 0 .25rem;
        font-size: .9rem;
        background-color: #f1f1f1;
        border-radius: 5px;

        &:last-child {
            margin-right: 0;
        }

        &.vux-1px::before {
            border-radius: 10px;
        }
    }
</style>
